import request from '@/utils/request'

// 获取用户房间列表
export function getVersionListAPI(params) {
  return request({
    url: '/admin/upgrade/querypacket',
    method: 'get',
    params
  })
}

// 增加
export function addVersionAPI(params) {
  return request({
    url: '/admin/upgrade/addpacket',
    method: 'post',
    params
  })
}
